package com.example.demo.pojo;

/**
 * @Description: 响应码列表
 * @Auther:ccc
 * @Date:2023/2/25 14:44
 */
public enum ResultCode {

    LOGIN_SUCCESS("0000", "登陆成功"),
    LOGIN_FAIL("9999", "登陆失败"),

    REPLAY_IDFAULT("9901", "请求ID缺失"),
    REPLAY_NOT("9902", "禁止重复提交");


    /**
     * 响应码
     */
    private String code;
    /**
     * 响应信息
     */
    private String msg;

    ResultCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
